package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.UserFollow;
import com.atguigu.entity.vo.UserFollowVo;
import com.github.pagehelper.PageInfo;

/**
 * @Author: 翟文海
 * @Date: 2022/10/31/031 20:00
 * @Version: 1.0
 * @Description:
 **/
public interface UserFollowService extends BaseService<UserFollow> {
    UserFollow getByHouseIdAndUserId(Long userId, Long houseId);

    PageInfo<UserFollowVo> findListPage(Long id, Integer pageNum, Integer pageSize);
}
